# 三元操作符


def func():
    a = 2
    b = 5
    val = a if a > b else b
    print(val)
    val = a if a < 3 else b
    print(val)


if __name__ == "__main__":
    func()